package com.uchiha.nova.mainService.service.impl;

import com.uchiha.nova.core.model.entity.DeptInfoEntity;
import com.uchiha.nova.core.tool.support.BaseServiceImpl;
import com.uchiha.nova.mainService.mapper.DeptInfoMapper;
import com.uchiha.nova.mainService.service.IDeptInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 部门信息 服务实现类
 *
 * @author Uchihashiamu
 */
@Service
public class DeptInfoServiceImpl extends BaseServiceImpl<DeptInfoMapper, DeptInfoEntity> implements IDeptInfoService {
    @Override
    public boolean deletePhysics(List<Long> ids) {
        ids.forEach(item-> this.baseMapper.deletePhysics(item));
        return true;
    }
}
